<html>
<head>
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>property</b> OnPaintStage: TPaintStageEvent;</p>
<p class="Decl"><b><a name="TPaintStageEvent"></a>type</b> TPaintStageEvent = 
  <b>procedure</b>(Sender: TObject; Dest: <a href="../../../../GR32/Classes/TBitmap32/_Body.htm">TBitmap32</a>; 
  StageNum: Cardinal) <b>of</b> <b>object</b>;</p>
<h2>Description</h2>
<p class="Body">An event, called by the control while it repaints itself. By default, 
  <a href="../../../../GR32_Image/Classes/TCustomImage32/_Body.htm">TCustomImage32</a> does not generate <span class="EmptyRef">OnPaintStage</span> 
  events, but this can be changed by adding PST_CUSTOM paint stages. </p>
<p class="Body">In the event handler, do not paint to <a href="../../../../GR32_Image/Classes/TCustomPaintBox32/Properties/Buffer.htm">Buffer</a> 
  directly, use the passed <span class="EmptyRef">Dest</span> parameter instead. 
</p>
<p id="hidden">[See also]: <a href="../../../../../Additional%20Topics/Using%20TImage32/Paint%20Stages.htm">Paint 
  Stages</a></p>
</body>
</html>
